home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 2 / LSD and 17bit Compendium Deluxe - Volume II.iso / a / prog / cprog / shade2obj.lha / README next >
Encoding:
Text File  |  1993-02-08  |  2.2 KB  |  60 lines

  1.  
  2. This program implements Tsai-Shah method for shape from shading.  
  3. The algorithm is described in the following tech report:
  4.  
  5.  
  6. The following tech report is available for anonymous ftp.
  7. Please post this in vision list, thanks.
  8.  
  9.  A FAST LINEAR SHAPE FROM SHADING
  10.  
  11. PING-SING TSAI AND MUBARAK SHAH
  12. DEPARTMENT OF COMPUTER SCIENCE 
  13. UNIVERSITY OF CENTRAL FLORIDA
  14. ORLANDO, FL 32816
  15.  
  16.              Abstract
  17. In this paper, we present an extremely simple algorithm for   shape from
  18. shading, which can be implemented in 25 lines of C code (code included), 
  19. and which converges in one to two iterations.  
  20. The algorithm is very fast, taking .2 seconds on a Sun SparcStation-1 for a 
  21. $128 \times 128$ image, and is purely local and highly parallelizable 
  22. (parallel implementation included).  The algorithm gives a solution which 
  23. is proveably convergent and unique, and is general in that it works for 
  24. both the Lambertian and Specular reflectance functions.  In our approach, we
  25. employ a linear approximation of the reflectance function, as used by others.  
  26. However, the major difference is that we first use the discrete approximations for 
  27. surface normal, $p$ and $q$, using finite differences, and 
  28. then linearize the reflectance function
  29. in depth, $Z(x,y)$, instead of $p$ and $q$. The algorithm has been 
  30. tested on several synthetic and real images of both Lambertian and 
  31. specular surfaces, and good results have been obtained.     
  32. It gives good results even for the spherical surfaces, in contrast to 
  33. other linear methods.
  34.  
  35. ______________________
  36. ftp eustis.cs.ucf.edu
  37. Connected to eustis.
  38. 220 eustis FTP server (SunOS 4.1) ready.
  39. Name (eustis.cs.ucf.edu:shah): anonymous
  40. 331 Guest login ok, send ident as password.
  41. Password:
  42. 230 Guest login ok, access restrictions apply.
  43. ftp> cd pub
  44. 250 CWD command successful.
  45. ftp> get tec24.ps.Z
  46. 200 PORT command successful.
  47. 150 ASCII data connection for tec24.ps.Z (132.170.108.100,1184) (1138595 bytes).
  48. 226 ASCII Transfer complete.
  49. local: tec24.ps.Z remote: tec24.ps.Z
  50. 1142749 bytes received in 11 seconds (99 Kbytes/s)
  51. ftp> quit
  52. 221 Goodbye.
  53.  uncompress tec24.ps
  54.  lpr tec24.ps -Plw
  55. ______________________
  56.  
  57.  
  58. The images are in ucfimgs subdirectory.  
  59. Please send email to tsai@eola.cs.ucf.edu for any problems and 
  60. comments.